User state tracking and anomaly detection in software-as-a-service environments

ABSTRACT

A user state tracking and anomaly detector for multi-tenant SaaS applications operates in association with a log management solution, such as a SIEM. A given SaaS application has many user STATES, and the applications often have dependencies on one another that arise, for example, when a particular application makes a request (typically on behalf of a user) to take some action with respect to another application. The detector includes a mapper that maps the large number of user STATES to a reduced number of mapped states (e.g., “red” and “green”), and a dependency module that generates user-resource dependency graphs. Using a dependency graph, a SaaS modeler in the detector checks whether a particular dependency-based request associated with a SaaS application is valid. State and dependency information generated by the mapper and dependency module are reported back to the log management solution to facilitate improved logging and anomaly detection.

BACKGROUND OF THE INVENTION Technical Field

This disclosure relates generally to deploying applications in a “cloud”compute environment.

Background of the Related Art

An emerging information technology (IT) delivery model is cloudcomputing, by which shared resources, software and information areprovided over the Internet to computers and other devices on-demand.Cloud computing can significantly reduce IT costs and complexities whileimproving workload optimization and service delivery. With thisapproach, an application instance can be hosted and made available fromInternet-based resources that are accessible through a conventional Webbrowser over HTTP. An example application might be one that provides acommon set of messaging functions, such as email, calendaring, contactmanagement, and instant messaging. A user would then access the servicedirectly over the Internet. Using this service, an enterprise wouldplace its email, calendar and/or collaboration infrastructure in thecloud, and an end user would use an appropriate client to access his orher email, or perform a calendar operation.

Cloud compute resources are typically housed in large server farms thatrun one or more network applications, typically using a virtualizedarchitecture wherein applications run inside virtual servers, orso-called “virtual machines” (VMs), that are mapped onto physicalservers in a data center facility. The virtual machines typically run ontop of a hypervisor, which is a control program that allocates physicalresources to the virtual machines.

Software as a Service (SaaS) refers to the capability provided to theconsumer is to use a provider's applications running on a cloudinfrastructure. SaaS applications are accessible from various clientdevices through a thin client interface such as a web browser (e.g.,web-based e-mail). In this model, the consumer does not manage orcontrol the underlying cloud infrastructure including network, servers,operating systems, storage, or even individual application capabilities,with the possible exception of limited user-specific applicationconfiguration settings.

With ever-increasing numbers of users of SaaS technologies, monitoringSaaS applications is becoming more important. Monitoring security of aSaaS application differs significantly from traditional applicationmonitoring because of its multi-tenancy nature, the fact that theapplication can be accessed from a variety of devices, the fact that theapplication can be accessed from anywhere, and further because securityintelligence tools use HTTP/HTTPS mechanisms to detect anomalies (fromthe SaaS application/user activity logs). These differences makeconsumption and monitoring of logs from SaaS environments very difficultfor traditional device-based log management solutions, such asSIEM-based systems. Primarily, this is because the event processingmodel of these log management solutions are tuned towards devicemonitoring.

Because application states do not fall into the normal event-basedmodels, there are significant performance bottlenecks in monitoring SaaSlogs by known log management solutions. These known approaches are alsodeficient in that they are rule-based and thus lack to capability tomonitor dependencies across SaaS applications. Further, SIEM solutionstypically rely upon HTTP to fetch logs, but HTTP is stateless and thusless useful for anomaly detection where states change dynamically andneed to be monitored separately. Prior techniques are also problematicbecause they require querying of the state of application resources andbusiness objects using a large number of API calls, which arecomputationally intensive and costly.

There remains a need to address the problems and deficiencies of currentapproaches to SaaS security monitoring.

BRIEF SUMMARY

According to this disclosure, a user state tracking and anomaly detectorfor SaaS applications is provided, preferably in association with a logmanagement solution such as a SIEM. The SaaS applications execute in amulti-tenant cloud environment. A given SaaS application in theenvironment typically supports multiple tenants, and the applicationtypically has many user STATES (e.g., user terminated, user frozen, useractive, etc.) Individual SaaS applications in the cloud environmenttypically have dependencies on one another that arise, for example, whena particular SaaS application makes a request (typically on behalf of auser) to take some action with respect to some other SaaS application inthe environment.

The user state tracking and anomaly detector includes a collector modulethat collects (or otherwise receives) user STATE information from eachof a set of configured SaaS applications. A mapper module in thedetector then performs an entity-relationship mapping of this data,preferably to map “n” number of user STATES to a reduced number ofstates (e.g., two (2)) states, e.g. a “green” state corresponding to anacceptable functioning state, and a “red” state corresponding to anon-acceptable or malfunctioning state). More than two (2) states may beused. The resulting mapped STATE data is the provided to the logmanagement solution.

In addition, the collector module in the user state tracking and anomalydetector collects (or otherwise receives) the dependency data thatindicates SaaS application dependencies or from which such dependenciescan be ascertained. A dependency module in the detector uses thisinformation to generate a dependency graph, e.g., a real-time directedgraph G=(V, E), where a V is a node in the graph that represents a SaaSuser/resource, and E is an edge in the graph that represents adependency link between the resources. An edge E is created whenever adependency is created, and an edge E is deleted when this dependencychanges or is deleted. Using the dependency graph, a SaaS modeler in thedetector can check whether a particular dependency-based requestassociated with a SaaS application is valid or invalid and report theresults back to the associated log management solution.

The foregoing has outlined some of the more pertinent features of thedisclosed subject matter. These features should be construed to bemerely illustrative. Many other beneficial results can be attained byapplying the disclosed subject matter in a different manner or bymodifying the invention as will be described.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present invention and theadvantages thereof, reference is now made to the following descriptionstaken in conjunction with the accompanying drawings, in which:

FIG. 1 depicts an exemplary block diagram of a distributed dataprocessing environment in which exemplary aspects of the illustrativeembodiments may be implemented;

FIG. 2 is an exemplary block diagram of a data processing system inwhich exemplary aspects of the illustrative embodiments may beimplemented;

FIG. 3 illustrates an exemplary cloud computing architecture in whichthe disclosed subject matter may be implemented;

FIG. 4 depicts an exemplary data center in which the techniques of thisdisclosure may be implemented;

FIG. 5 illustrates an exemplary operating environment in which SIEM logmanagement solution interoperates with a SaaS environment;

FIG. 6 depicts the user state tracking and anomaly detector for SaaSapplications according to this disclosure;

FIG. 7 depicts the user state tracking and anomaly detector in aparticular embodiment;

FIG. 8 illustrates an example entity-relationship mapping for a SaaSapplication that is used implemented by the mapper module of thedetector; and

FIG. 9 depicts a portion of a dependency graph generated by thedependency modeler of the detector.

DETAILED DESCRIPTION OF AN ILLUSTRATIVE EMBODIMENT

With reference now to the drawings and in particular with reference toFIGS. 1-2, exemplary diagrams of data processing environments areprovided in which illustrative embodiments of the disclosure may beimplemented. It should be appreciated that FIGS. 1-2 are only exemplaryand are not intended to assert or imply any limitation with regard tothe environments in which aspects or embodiments of the disclosedsubject matter may be implemented. Many modifications to the depictedenvironments may be made without departing from the spirit and scope ofthe present invention.

Client-Server Technologies

With reference now to the drawings, FIG. 1 depicts a pictorialrepresentation of an exemplary distributed data processing system inwhich aspects of the illustrative embodiments may be implemented.Distributed data processing system 100 may include a network ofcomputers in which aspects of the illustrative embodiments may beimplemented. The distributed data processing system 100 contains atleast one network 102, which is the medium used to provide communicationlinks between various devices and computers connected together withindistributed data processing system 100. The network 102 may includeconnections, such as wire, wireless communication links, or fiber opticcables.

In the depicted example, server 104 and server 106 are connected tonetwork 102 along with storage unit 108. In addition, clients 110, 112,and 114 are also connected to network 102. These clients 110, 112, and114 may be, for example, personal computers, network computers, or thelike. In the depicted example, server 104 provides data, such as bootfiles, operating system images, and applications to the clients 110,112, and 114. Clients 110, 112, and 114 are clients to server 104 in thedepicted example. Distributed data processing system 100 may includeadditional servers, clients, and other devices not shown.

In the depicted example, distributed data processing system 100 is theInternet with network 102 representing a worldwide collection ofnetworks and gateways that use the Transmission ControlProtocol/Internet Protocol (TCP/IP) suite of protocols to communicatewith one another. At the heart of the Internet is a backbone ofhigh-speed data communication lines between major nodes or hostcomputers, consisting of thousands of commercial, governmental,educational and other computer systems that route data and messages. Ofcourse, the distributed data processing system 100 may also beimplemented to include a number of different types of networks, such asfor example, an intranet, a local area network (LAN), a wide areanetwork (WAN), or the like. As stated above, FIG. 1 is intended as anexample, not as an architectural limitation for different embodiments ofthe disclosed subject matter, and therefore, the particular elementsshown in FIG. 1 should not be considered limiting with regard to theenvironments in which the illustrative embodiments of the presentinvention may be implemented.

With reference now to FIG. 2, a block diagram of an exemplary dataprocessing system is shown in which aspects of the illustrativeembodiments may be implemented. Data processing system 200 is an exampleof a computer, such as client 110 in FIG. 1, in which computer usablecode or instructions implementing the processes for illustrativeembodiments of the disclosure may be located.

With reference now to FIG. 2, a block diagram of a data processingsystem is shown in which illustrative embodiments may be implemented.Data processing system 200 is an example of a computer, such as server104 or client 110 in FIG. 1, in which computer-usable program code orinstructions implementing the processes may be located for theillustrative embodiments. In this illustrative example, data processingsystem 200 includes communications fabric 202, which providescommunications between processor unit 204, memory 206, persistentstorage 208, communications unit 210, input/output (I/O) unit 212, anddisplay 214.

Processor unit 204 serves to execute instructions for software that maybe loaded into memory 206. Processor unit 204 may be a set of one ormore processors or may be a multi-processor core, depending on theparticular implementation. Further, processor unit 204 may beimplemented using one or more heterogeneous processor systems in which amain processor is present with secondary processors on a single chip. Asanother illustrative example, processor unit 204 may be a symmetricmulti-processor (SMP) system containing multiple processors of the sametype.

Memory 206 and persistent storage 208 are examples of storage devices. Astorage device is any piece of hardware that is capable of storinginformation either on a temporary basis and/or a permanent basis. Memory206, in these examples, may be, for example, a random access memory orany other suitable volatile or non-volatile storage device. Persistentstorage 208 may take various forms depending on the particularimplementation. For example, persistent storage 208 may contain one ormore components or devices. For example, persistent storage 208 may be ahard drive, a flash memory, a rewritable optical disk, a rewritablemagnetic tape, or some combination of the above. The media used bypersistent storage 208 also may be removable. For example, a removablehard drive may be used for persistent storage 208.

Communications unit 210, in these examples, provides for communicationswith other data processing systems or devices. In these examples,communications unit 210 is a network interface card. Communications unit210 may provide communications through the use of either or bothphysical and wireless communications links.

Input/output unit 212 allows for input and output of data with otherdevices that may be connected to data processing system 200. Forexample, input/output unit 212 may provide a connection for user inputthrough a keyboard and mouse. Further, input/output unit 212 may sendoutput to a printer. Display 214 provides a mechanism to displayinformation to a user.

Instructions for the operating system and applications or programs arelocated on persistent storage 208. These instructions may be loaded intomemory 206 for execution by processor unit 204. The processes of thedifferent embodiments may be performed by processor unit 204 usingcomputer implemented instructions, which may be located in a memory,such as memory 206. These instructions are referred to as program code,computer-usable program code, or computer-readable program code that maybe read and executed by a processor in processor unit 204. The programcode in the different embodiments may be embodied on different physicalor tangible computer-readable media, such as memory 206 or persistentstorage 208.

Program code 216 is located in a functional form on computer-readablemedia 218 that is selectively removable and may be loaded onto ortransferred to data processing system 200 for execution by processorunit 204. Program code 216 and computer-readable media 218 form computerprogram product 220 in these examples. In one example, computer-readablemedia 218 may be in a tangible form, such as, for example, an optical ormagnetic disc that is inserted or placed into a drive or other devicethat is part of persistent storage 208 for transfer onto a storagedevice, such as a hard drive that is part of persistent storage 208. Ina tangible form, computer-readable media 218 also may take the form of apersistent storage, such as a hard drive, a thumb drive, or a flashmemory that is connected to data processing system 200. The tangibleform of computer-readable media 218 is also referred to ascomputer-recordable storage media. In some instances,computer-recordable media 218 may not be removable.

Alternatively, program code 216 may be transferred to data processingsystem 200 from computer-readable media 218 through a communicationslink to communications unit 210 and/or through a connection toinput/output unit 212. The communications link and/or the connection maybe physical or wireless in the illustrative examples. Thecomputer-readable media also may take the form of non-tangible media,such as communications links or wireless transmissions containing theprogram code. The different components illustrated for data processingsystem 200 are not meant to provide architectural limitations to themanner in which different embodiments may be implemented. The differentillustrative embodiments may be implemented in a data processing systemincluding components in addition to or in place of those illustrated fordata processing system 200. Other components shown in FIG. 2 can bevaried from the illustrative examples shown. As one example, a storagedevice in data processing system 200 is any hardware apparatus that maystore data. Memory 206, persistent storage 208, and computer-readablemedia 218 are examples of storage devices in a tangible form.

In another example, a bus system may be used to implement communicationsfabric 202 and may be comprised of one or more buses, such as a systembus or an input/output bus. Of course, the bus system may be implementedusing any suitable type of architecture that provides for a transfer ofdata between different components or devices attached to the bus system.Additionally, a communications unit may include one or more devices usedto transmit and receive data, such as a modem or a network adapter.Further, a memory may be, for example, memory 206 or a cache such asfound in an interface and memory controller hub that may be present incommunications fabric 202.

Computer program code for carrying out operations of the presentinvention may be written in any combination of one or more programminglanguages, including an object-oriented programming language such asJava™, Smalltalk, C++, C#, Objective-C, or the like, and conventionalprocedural programming languages. The program code may execute entirelyon the user's computer, partly on the user's computer, as a stand-alonesoftware package, partly on the user's computer and partly on a remotecomputer, or entirely on the remote computer or server. In the latterscenario, the remote computer may be connected to the user's computerthrough any type of network, including a local area network (LAN) or awide area network (WAN), or the connection may be made to an externalcomputer (for example, through the Internet using an Internet ServiceProvider).

Those of ordinary skill in the art will appreciate that the hardware inFIGS. 1-2 may vary depending on the implementation. Other internalhardware or peripheral devices, such as flash memory, equivalentnon-volatile memory, or optical disk drives and the like, may be used inaddition to or in place of the hardware depicted in FIGS. 1-2. Also, theprocesses of the illustrative embodiments may be applied to amultiprocessor data processing system, other than the SMP systemmentioned previously, without departing from the spirit and scope of thedisclosed subject matter.

As will be seen, the techniques described herein may operate inconjunction within the standard client-server paradigm such asillustrated in FIG. 1 in which client machines communicate with anInternet-accessible Web-based portal executing on a set of one or moremachines. End users operate Internet-connectable devices (e.g., desktopcomputers, notebook computers, Internet-enabled mobile devices, or thelike) that are capable of accessing and interacting with the portal.Typically, each client or server machine is a data processing systemsuch as illustrated in FIG. 2 comprising hardware and software, andthese entities communicate with one another over a network, such as theInternet, an intranet, an extranet, a private network, or any othercommunications medium or link. A data processing system typicallyincludes one or more processors, an operating system, one or moreapplications, and one or more utilities. The applications on the dataprocessing system provide native support for Web services including,without limitation, support for HTTP, SOAP, XML, WSDL, UDDI, and WSFL,among others. Information regarding SOAP, WSDL, UDDI and WSFL isavailable from the World Wide Web Consortium (W3C), which is responsiblefor developing and maintaining these standards; further informationregarding HTTP and XML is available from Internet Engineering Task Force(IETF). Familiarity with these standards is presumed.

Cloud Computing Model

Cloud computing is a model of service delivery for enabling convenient,on-demand network access to a shared pool of configurable computingresources (e.g. networks, network bandwidth, servers, processing,memory, storage, applications, virtual machines, and services) that canbe rapidly provisioned and released with minimal management effort orinteraction with a provider of the service. This cloud model may includeat least five characteristics, at least three service models, and atleast four deployment models, all as more particularly described anddefined in “Draft NIST Working Definition of Cloud Computing” by PeterMell and Tim Grance, dated Oct. 7, 2009.

In particular, the following are typical Characteristics:

On-demand self-service: a cloud consumer can unilaterally provisioncomputing capabilities, such as server time and network storage, asneeded automatically without requiring human interaction with theservice's provider.

Broad network access: capabilities are available over a network andaccessed through standard mechanisms that promote use by heterogeneousthin or thick client platforms (e.g., mobile phones, laptops, and PDAs).

Resource pooling: the provider's computing resources are pooled to servemultiple consumers using a multi-tenant model, with different physicaland virtual resources dynamically assigned and reassigned according todemand. There is a sense of location independence in that the consumergenerally has no control or knowledge over the exact location of theprovided resources but may be able to specify location at a higher levelof abstraction (e.g., country, state, or datacenter).

Rapid elasticity: capabilities can be rapidly and elasticallyprovisioned, in some cases automatically, to quickly scale out andrapidly released to quickly scale in. To the consumer, the capabilitiesavailable for provisioning often appear to be unlimited and can bepurchased in any quantity at any time.

Measured service: cloud systems automatically control and optimizeresource use by leveraging a metering capability at some level ofabstraction appropriate to the type of service (e.g., storage,processing, bandwidth, and active user accounts). Resource usage can bemonitored, controlled, and reported providing transparency for both theprovider and consumer of the utilized service.

The Service Models typically are as follows:

Software as a Service (SaaS): the capability provided to the consumer isto use the provider's applications running on a cloud infrastructure.The applications are accessible from various client devices through athin client interface such as a web browser (e.g., web-based e-mail).The consumer does not manage or control the underlying cloudinfrastructure including network, servers, operating systems, storage,or even individual application capabilities, with the possible exceptionof limited user-specific application configuration settings.

Platform as a Service (PaaS): the capability provided to the consumer isto deploy onto the cloud infrastructure consumer-created or acquiredapplications created using programming languages and tools supported bythe provider. The consumer does not manage or control the underlyingcloud infrastructure including networks, servers, operating systems, orstorage, but has control over the deployed applications and possiblyapplication hosting environment configurations.

Infrastructure as a Service (IaaS): the capability provided to theconsumer is to provision processing, storage, networks, and otherfundamental computing resources where the consumer is able to deploy andrun arbitrary software, which can include operating systems andapplications. The consumer does not manage or control the underlyingcloud infrastructure but has control over operating systems, storage,deployed applications, and possibly limited control of select networkingcomponents (e.g., host firewalls).

The Deployment Models typically are as follows:

Private cloud: the cloud infrastructure is operated solely for anorganization. It may be managed by the organization or a third party andmay exist on-premises or off-premises.

Community cloud: the cloud infrastructure is shared by severalorganizations and supports a specific community that has shared concerns(e.g., mission, security requirements, policy, and complianceconsiderations). It may be managed by the organizations or a third partyand may exist on-premises or off-premises.

Public cloud: the cloud infrastructure is made available to the generalpublic or a large industry group and is owned by an organization sellingcloud services.

Hybrid cloud: the cloud infrastructure is a composition of two or moreclouds (private, community, or public) that remain unique entities butare bound together by standardized or proprietary technology thatenables data and application portability (e.g., cloud bursting forload-balancing between clouds).

A cloud computing environment is service-oriented with a focus onstatelessness, low coupling, modularity, and semantic interoperability.At the heart of cloud computing is an infrastructure comprising anetwork of interconnected nodes. A representative cloud computing nodeis as illustrated in FIG. 2 above. In particular, in a cloud computingnode there is a computer system/server, which is operational withnumerous other general purpose or special purpose computing systemenvironments or configurations. Examples of well-known computingsystems, environments, and/or configurations that may be suitable foruse with computer system/server include, but are not limited to,personal computer systems, server computer systems, thin clients, thickclients, hand-held or laptop devices, multiprocessor systems,microprocessor-based systems, set top boxes, programmable consumerelectronics, network PCs, minicomputer systems, mainframe computersystems, and distributed cloud computing environments that include anyof the above systems or devices, and the like. Computer system/servermay be described in the general context of computer system-executableinstructions, such as program modules, being executed by a computersystem. Generally, program modules may include routines, programs,objects, components, logic, data structures, and so on that performparticular tasks or implement particular abstract data types. Computersystem/server may be practiced in distributed cloud computingenvironments where tasks are performed by remote processing devices thatare linked through a communications network. In a distributed cloudcomputing environment, program modules may be located in both local andremote computer system storage media including memory storage devices.

Referring now to FIG. 3, by way of additional background, a set offunctional abstraction layers provided by a cloud computing environmentis shown. It should be understood in advance that the components,layers, and functions shown in FIG. 3 are intended to be illustrativeonly and embodiments of the invention are not limited thereto. Asdepicted, the following layers and corresponding functions are provided:

Hardware and software layer 300 includes hardware and softwarecomponents. Examples of hardware components include mainframes, in oneexample IBM® zSeries® systems; RISC (Reduced Instruction Set Computer)architecture based servers, in one example IBM pSeries® systems; IBMxSeries® systems; IBM BladeCenter® systems; storage devices; networksand networking components. Examples of software components includenetwork application server software, in one example IBM WebSphere®application server software; and database software, in one example IBMDB2® database software. (IBM, zSeries, pSeries, xSeries, BladeCenter,WebSphere, and DB2 are trademarks of International Business MachinesCorporation registered in many jurisdictions worldwide)

Virtualization layer 302 provides an abstraction layer from which thefollowing examples of virtual entities may be provided: virtual servers;virtual storage; virtual networks, including virtual private networks;virtual applications and operating systems; and virtual clients.

In one example, management layer 304 may provide the functions describedbelow. Resource provisioning provides dynamic procurement of computingresources and other resources that are utilized to perform tasks withinthe cloud computing environment. Metering and Pricing provide costtracking as resources are utilized within the cloud computingenvironment, and billing or invoicing for consumption of theseresources. In one example, these resources may comprise applicationsoftware licenses. Security provides identity verification for cloudconsumers and tasks, as well as protection for data and other resources.User portal provides access to the cloud computing environment forconsumers and system administrators. Service level management providescloud computing resource allocation and management such that requiredservice levels are met. Service Level Agreement (SLA) planning andfulfillment provides pre-arrangement for, and procurement of, cloudcomputing resources for which a future requirement is anticipated inaccordance with an SLA.

Workloads layer 306 provides examples of functionality for which thecloud computing environment may be utilized. Examples of workloads andfunctions which may be provided from this layer include: mapping andnavigation; software development and lifecycle management; virtualclassroom education delivery; data analytics processing; transactionprocessing; and others (e.g., enterprise-specific functions in a privatecloud).

It is understood in advance that although this disclosure includes adetailed description on cloud computing, implementation of the teachingsrecited herein are not limited to a cloud computing environment. Rather,embodiments of the present invention are capable of being implemented inconjunction with any other type of computing environment now known orlater developed.

Thus, a representative cloud computing environment has a set of highlevel functional components that include a front end identity manager, abusiness support services (BSS) function component, an operationalsupport services (OSS) function component, and the compute cloudcomponent. The identity manager is responsible for interfacing withrequesting clients to provide identity management, and this componentmay be implemented with one or more known systems, such as the TivoliFederated Identity Manager (TFIM) that is available from IBMCorporation, of Armonk, N.Y. In appropriate circumstances TFIM may beused to provide federated single sign-on (F-SSO) to other cloudcomponents. The business support services component provides certainadministrative functions, such as billing support. The operationalsupport services component is used to provide provisioning andmanagement of the other cloud components, such as virtual machine (VM)instances. The cloud component represents the main computationalresources, which are typically a plurality of virtual machine instancesthat are used to execute a target application that is being madeavailable for access via the cloud. One or more databases are used tostore directory, log, and other working data. All of these components(included the front end identity manager) are located “within” thecloud, but this is not a requirement. In an alternative embodiment, theidentity manager may be operated externally to the cloud. The serviceprovider also may be operated externally to the cloud.

Some clouds are based upon non-traditional IP networks. Thus, forexample, a cloud may be based upon two-tier CLOS-based networks withspecial single layer IP routing using hashes of MAC addresses. Thetechniques described herein may be used in such non-traditional clouds.

FIG. 4 illustrates a typical IT infrastructure that supportsvirtualization of resources and in which the below-described techniquesof this disclosure may be implemented. For purposes of explanation, theIT datacenter that provides shared (public) resources is the “provider”and a customer or company that uses these shared resources to host,store and manage its data and applications (in all forms) is the“subscriber” (or “customer” or “tenant”). In FIG. 4, an example virtualmachine hosting environment (alternately referred to herein as a datacenter or “cloud”) is illustrated. This environment comprises hostmachines (HVs) 402 (e.g., servers or like physical machine computingdevices) connected to a physical datacenter network 404, typically via ahypervisor management VLAN 406. Although not depicted explicitly,typically the environment also includes load balancers, network dataswitches (e.g., top-of-rack switches), firewalls, and the like. As shownin FIG. 4, physical servers 402 are each adapted to dynamically provideone or more virtual machines (VMs) 408 using virtualization technology.Such technology is available commercially, e.g., from VMware® or others.Server virtualization is a technique that is well-known in the art. Asdepicted, multiple VMs can be placed into a single host machine andshare the host machine's CPU, memory and other resources, therebyincreasing the utilization of an organization's data center. In thisenvironment, tenant applications 410 are hosted in network appliances412, and tenant data is stored in data stores and databases 414. Theapplications and data stores are connected to the physical datacenternetwork 404, typically via a network management/storage VLAN 416.Collectively, the virtual machines, applications and tenant datarepresent a subscriber-accessible virtualized resource management domain405. Through this domain, the subscriber's employees may access andmanage (using various role-based privileges) virtualized resources theyhave been allocated by the provider and that are backed by physical ITinfrastructure. The bottom portion of the infrastructure illustrates aprovider-accessible management domain 415. This domain comprises aprovider employee management portal 418, the BSS/OSS managementfunctions 420, various identity and access management functions 422, asecurity policy server 424, and management functions 426 to manage theserver images 428. These functions interface to the physical datacenternetwork via a management VLAN 430. The provider's employees havespecialized privileges (and perhaps specific clients/networks) fromwhich they have access to the Operational and Business Support Services(OSS/BSS) that they use to manage the IT datacenter infrastructure(e.g., hardware and software installations, configurations, monitoring,technical support, billing, and the like).

Generalizing, the cloud computing infrastructure provides for a virtualmachine hosting environment that comprises host machines (e.g., serversor like physical machine computing devices) connected via a network andone or more management servers. Typically, the physical servers are eachadapted to dynamically provide one or more virtual machines usingvirtualization technology, such as VMware ESX/ESXi. Multiple VMs can beplaced into a single host machine and share the host machine's CPU,memory and other resources, thereby increasing the utilization of anorganization's data center. Among other tasks, the management servermonitors the infrastructure and automatically manipulates the VMplacement as needed, e.g., by moving virtual machines between hosts.

In a non-limiting implementation, representative platform technologiesare, without limitation, IBM System x® servers with VMware vSphere 4.1Update 1 and 5.0.

SaaS Environment Security

It is known in the art to configure or provision cloud architecturessuch as described above to include mechanisms and systems that operategenerally to gather (or otherwise obtain from other data sources)information about available cloud platforms, topologies andcapabilities. Typically, cloud security may be implemented and enforcedwith various techniques that include, without limitation, virtualperimeter networks (DMZs), network segregation, storage isolation,Intrusion Prevention System (IPS) deployment, Security Information andEvent Management (SIEM) deployment, reverse proxies, firewalls, SSLcommunication, configuration with existing SIEM, multi-factorauthentication, risk-based authentication, and others.

For example, a commercial SIEM log management solution is IBM® SecurityQRadar® SIEM, which consolidates log source event data from up tothousands of devices, endpoints and applications distributed throughouta network. It also performs immediate normalization and correlationactivities on raw data to distinguish real threats from false positives.As an option, this software solution may incorporate IBM SecurityX-Force® Threat Intelligence, which supplies a list of potentiallymalicious IP addresses including malware hosts, spam sources and otherthreats. IBM Security QRadar SIEM can also correlate systemvulnerabilities with event and network data, helping to prioritizesecurity incidents. This solution thus provides near real-timevisibility for threat detection and prioritization, deliveringsurveillance throughout the entire IT infrastructure. It reduces andprioritizes alerts to enable administrators to focus investigations onan actionable list of suspected incidents. It enables more effectivethreat management while producing detailed data access and user activityreports. It also delivers robust security intelligence in cloudenvironments, including producing detailed data access and user activityreports to help manage compliance. The solution also provides a masterconsole to help managed service providers provide security intelligencesolutions in a cost-effective manner.

While log management solutions like those described above providesignificant advantages, monitoring in a SaaS-based environment hassignificant challenges. To see why this the case, reference is now madeto FIG. 5, which depicts a log management solution such as IBM QRadarSIEM 502 being used to monitor a Customer Relationship Management cloudapplication 504, such as SalesForce® CRM, in a multi-tenant cloudenvironment 500. As is well-known, SIEM 502 uses an event model thatlooks for log events (from log sources) via syslog, HTTP receivers,REST-based code (to fetch from APIs), and the like. The log eventsfetched are consumed, and a security intelligence engine in the SIEMuses rules to detect anomalies. Although this approach works well fornormal logs, many resources inside the cloud application (e.g., “Users”)can be in several defined STATES, such as “frozen,” “terminated,”“locked,” “active,” “deleted” and others. Such states often changedynamically and thus are unsuitable to be captured as logs, becausecapturing them would be very costly (requiring API calls for ‘n’ user of‘n’ tenants across ‘n’ SaaS applications) and such data would makeanomaly detection more difficult due to the searching and indexingrequirements to keep track of state (e.g., a “last state”). As aconsequence, known log management configurations of this type (which arebased on event-based models) can exhibit performance bottlenecks.

In addition, and again with reference to FIG. 5, there may be multipleadditional cloud applications 506, 508, etc. in the multi-tenant cloudenvironment 500, and different ones of the various cloud applicationsmay have various dependencies. For example, when user 510 in cloudapplication 504 desires to have that application take action (e.g.,upload a file) on the user's behalf in cloud application 506, it isdesirable for the security infrastructure to monitoring for anomaliesthat may arise. To achieve this, the security infrastructure needs tomonitor/assess the state of user 508 in each application in themulti-tenant environment 500, the nature of any privileged access (ofusers in cloud application 504 and cloud application 506), as well asthe logs created in each cloud application. Here again, however, currentevent-based log management solutions do not provide support for any suchfederated monitoring of such dependencies, as such known techniquesinstead typically rely upon rule-based approach that do not account forthem.

User State Tracking and Federated Anomaly Detection in a SaaSEnvironment

With the above as background, the technique of this disclosure is nowdescribed. A representative operating environment is shown in FIG. 6. Asdepicted, a multi-tenant cloud environment 600 comprises a set of SaaSapplications 602. A given SaaS application 602 in the environment 600typically supports multiple tenants. A particular tenant may be anenterprise whose employees 604 use the SaaS application, and theenterprise may have customers/partners 606 that also need to access theSaaS application. The employees 604 and customers/partners 606 have useraccounts 608 that may be managed in the context of a user ID federation610, all in a known manner. As also depicted, the cloud environmentsupports or is associated with a log management solution, such as a SIEM612. As noted above, a representative SIEM is IBM QRadar, although thisis not a requirement. The SIEM may be located within the cloudenvironment, but this is not a requirement either.

According to this disclosure, the above-described environment isaugmented to include a user state tracking and anomaly detector 614(USTAD) for the SaaS applications 602 (“USTAD for SaaS”). As depicted inFIG. 7, and as described in detail below, the user state tracking ananomaly detector 700 comprises a set of modules, e.g., a collectormodule 702, a mapper module 704, a dependency module 706, and a SaaSmodeler 708. In one embodiments, these modules receive information fromeach of a set of agent modules 710, where each agent module 710 issupported in association with a particular SaaS application 712. Theagent module 710 may comprise a component of the USTAD, or it may be acomponent or function that is native to the SaaS application itself. Inan alternative embodiment, the agent modules 710 are not required, asthe collector 702 operates to poll a particular SaaS application for theSTATE and dependency information. As depicted in FIG. 7, the USTAD 700typically also includes a web-based interface, a database, and otherhardware and software support (not shown) as needed to enable the USTADto communicate and interoperate with the other devices and systems(e.g., the SIEM, the cloud environment, e). The modules 702, 704, 706and 708 may comprise a single integrated module, or they may be distinctfrom one another. Some but not all of the modules may be integrated withone another. Typically, the USTAD components are implemented assoftware, e.g., as distinct sets of computer program instructions thatare executed to perform the functions and operations described below. Amodule may have multiple instances, and those instances may beco-located or execute remote from one another. One or more co-located ordistributed computing machines comprise hardware processors and computermemory to support the modules. The physical support may be provided bythe cloud itself, or the USTAD may operate in a standalone manner.

A given SaaS application in the environment typically supports multipletenants, and the application typically has many user STATES (e.g., userterminated, user frozen, user active, etc.) Users are assumed to usemultiple SaaS applications in the environment, and thus given SaaSapplications necessarily have operating dependencies upon one another.The number and nature of the user STATES varies across SaaS application.As also noted above, individual SaaS applications in the cloudenvironment typically have dependencies on one another that arise, forexample, when a particular SaaS application makes a request (typicallyon behalf of a user) to take some action with respect to some other SaaSapplication in the environment. The number and nature of the applicationdependencies likewise varies across the SaaS environment, and thesedependencies often change dynamically. Logging SaaS application activityin such an operating environment is quite a complex challenge, which theUSTAD of this disclosure addresses in the manner now described.

In particular, and as will be seen, the mapper module 704 operates toreduce the complexity of user STATE data from “n” different user STATESto a small number of states that is much more manageable (by the logmanagement solution). Preferably, the mapper module also takes intoconsideration resource data (or, more generally, a resource context) todetermine the reduced mapped state. For example, a User in locked statemay have read permission on a less critical file resource (green), but alocked user updating a sales pipeline object resource on the SaaS mightbe red. The mapper module may also leverage external data, e.g., datafrom an LDAP Directory, to determine the reduced states. Generalizing,the mapper may take as input state of the users and/or resources data.

In a preferred embodiment, the collector module 702 obtains the userSTATE data from the SaaS applications that are configured or provisionedto provide it, and the mapper module 704 then takes that data andperforms an entity-relationship mapping. As depicted in anentity-relationship diagram shown in FIG. 8, the mapper module maps “n”number of user STATES 800 to a reduced number of mapped states 802. Theparticular entity-relationship mapping depicted in FIG. 8 is merelyexemplary, as different SaaS applications typically have different userSTATES, and the number and the nature of the mapping performed by themapping module may vary across the supported SaaS applications. In theexample in FIG. 8, the user STATES “Frozen,” “Terminated,” “Locked” andDeleted” map to the “Red” mapped state, while a STATE “Active” maps tothe “Green” mapped state. There may be other user STATES that are notshown, and there may be additional mapped states, although preferablyonly two are used to simplify logging. In one embodiment, the “Green”state corresponds to an acceptable functioning state, and the “Red”state corresponds to a non-acceptable or malfunctioning state. As noted,more than two (2) mapped states may be used, in which case “degrees” or“levels” of acceptability or non-acceptability may be used. Theresulting mapped STATE data is the provided to the log managementsolution, as previously described, to facilitate logging in themulti-tenant SaaS environment.

In addition, preferably the collector module 702 in the user statetracking and anomaly detector collects (or otherwise receives) thedependency data that indicates SaaS application dependencies or fromwhich such dependencies are derived. Typically, a relationship is builtbased on dependency/access permission between users and resources. Inone embodiment, the dependency module 706 in the detector uses suchinformation, preferably to generate a dependency graph, such as astatistical dependency graph that is based on dependency relationshipsbetween respective ones of the plurality of SaaS applications.Typically, the dependency data is discovered by monitoring request andresponse flow between or among the SaaS applications. A given SaaSapplication dependency may be static or dynamic, and a particularrequest or response associated with an application that has such adependency thus may be “valid” or “invalid” depending on the nature ofthe dependency. According to this disclosure, the dependency data isrepresented in the dependency graph, e.g., a real-time directed graphG=(V, E), where a V is a node in the graph that represents a SaaSuser/resource, and E is an edge in the graph that represents adependency link between the resources. An edge E is created whenever adependency is created, and an edge E is deleted when this dependencychanges or is deleted. Using the dependency graph, the SaaS modeler 708(in FIG. 7) checks whether a particular dependency-based requestassociated with a SaaS application is valid or invalid, and it take oneor more given actions, e.g., report the results back to the associatedlog management solution.

FIG. 9 depicts a representative dependency graph for users “Alex” and“Bob” and a number of SaaS applications, SaaS A, SaaS B and SaaS C. Thisgraph is generated by the dependency module, which as noted performsgraph-based modeling. For this reason the dependency module is sometimesreferred to herein as a dependency modeler. In this example, it isassumed that the mapping module has mapped Alex to a “Red” state on bothSaaS A and SaaS B, while “Bob” is mapped “Green” on SaaS A but “Red” onSaaS B. These mapped STATES are reported to the log management solution,as previously described. FIG. 9 represents an example dependency graph900 that includes a number of nodes V and edges E. Thus, node 902represents “Bob on SaaS A,” node 904 represents “Bob on SaaS B” (therebycreating a dependency between SaaS A and SaaS B), node 906 represents“Bob on SaaS C,” node 908 represents “Alex on SaaS B,” node 910represents “File Resource A” (a resource on SaaS A) and node 912represents “File Resource B” (a resource on SaaS B). With this graph,dependency can be checked (e.g., by the SaaS modeler) by utilizing agraph path traversal algorithm. In general, an algorithm of this typeidentifies all vertices (nodes) that can be reached from a dependencyrequest starting point and checks is a last node reached from thestarting point is the dependency in question. If so, the algorithmreturns “valid” but otherwise returns “invalid.” An example would bepath 914, 916 in FIG. 9, which represents a valid path from Bob on SaaSA to File Resource B (via Bob on SaaS B). An alternative valid path fromBob on SaaS A to File Resource B may be path 918, 920 and 922 (via Bobon SaaS C).

Generalizing, by checking the dependencies on routes, the SaaS modeler(which provides the basic anomaly detection operation) can provide thelog management system (or other management devices) useful information.For example, if the link 914 is broken, then the alternative path (918,920 and 922) may still be active, thereby linking Bob's identitiesacross another valid path so that Bob still gets access (and “valid”information is sent to the dependency modeler). In an alternative, ifone of Bob's identities is broken, the graph still shows all of theassociated nodes and linked identities to suggest (e.g., to the logmanagement system) other places that may be compromised. Correctiveaction (e.g., notifying Bob to change his password) may then be taken orinitiated.

As noted above, the “valid” or “invalid” information preferably ispassed on to the log management solution, or any other device or systemcan poll for and fetch such information from the dependency module(modeler).

Although a preferred implementation is depicted (e.g., as shown in FIG.7) with the USTAD implemented as a service (e.g., a web service)intermediate a log management solution and the multi-tenant cloudinfrastructure, this is not a limitation. The USTAD (or some componentsthereof) may be part of the log management solution itself, or part ofother cloud security architecture. The USTAD may be implemented as amanagement solution, service, product, appliance, device, process,program, execution thread, or the like. Typically, and as noted, thetechniques are implemented in software, as one or more computer programsexecuted in hardware processing elements, in association with datastored in one or more data sources. Some or all of the processing stepsdescribed may be automated and operate autonomously in association withother systems. The automation may be full- or partial, and theoperations (in whole or in part) may be synchronous or asynchronous,demand-based, or otherwise.

Without limitation, the USTAD (as a product or service) may beimplemented within or in association with a cloud platform system orappliance (FIG. 4) as has been described, or using any other type ofdeployment systems, products, devices, programs or processes. Aspreviously noted, the above-described components typically are eachimplemented as software, i.e., as a set of computer program instructionsexecuted in one or more hardware processors. The components are shown asdistinct, but this is not a requirement, as the components may also beintegrated with one another in whole or in part. One or more of thecomponents may execute in a dedicated location, or remote from oneanother. One or more of the components may have sub-components thatexecute together to provide the functionality. There is no requirementthat particular functions of the USTAD product or service be executed bya particular component as named above, as the functionality herein (orany aspect thereof) may be implemented in other or systems. There isalso no requirement that the solution provide explicit anomaly detectionusing the SaaS modeler, as other techniques and devices may be used forthis purpose. In addition, the nature of the logging provided by the logmanagement solution itself is not part of the USTAD, as a primaryadvantage of the USTAD is the providing (to the log management solution)of information that can be more readily consumed thereby.

The USTAD product or service may be implemented by a cloud serviceprovider that operates infrastructure for a private cloud, a publiccloud, or a hybrid cloud. It may be available as a managed serviceprovided by a cloud service or some other service provider.

There may be alternative embodiments. Instead of having a singlecollector, there may be several worker collectors for each of thetenants in the SaaS applications. The worker collectors then feed theinformation to a master collector for sending to the mapper anddependency modules.

Another use case uses the USTAD to facilitate step-up authenticationbefore an application enables a requested transaction. Thus, forexample, based on the output from the modeler and anomaly detector,authentication is stepped up on the event of a detected anomaly. Forexample, the authentication may be stepped-up based on trust levels asdefined by a SaaS application, user object information and/or otherbusiness attributes.

The subject matter herein provides significant advantages. In enablesimproved performance of log management solutions in fetching STATESassociated with SaaS applications. It also enables improved performanceof such management solutions in correlating and anomaly detection ofSaaS environment. It provides a federated dependency monitoring solutionthat enables centralized tracking of dependencies across SaaSapplications. The depending monitoring is dynamic and thus highlyeffective, as the approach does not rely on predefined rule-baseddependency tracking. The approach provides for improved performance oflog management solutions in offense detection of dependencies between oramong SaaS applications. The techniques herein also provide for betterapplication monitoring of SaaS environments. By providing for improvedcorrelation, anomaly detection mechanisms that use the correlatedinformation have been performance, thereby enhancing security. Anotheradvantage is the providing of better and more fine-grained contextinformation about the operations of the multiple SaaS applications.Indeed, the tracking of a relationship between users and resources(e.g., using log-derived data, or data derived from other sources)enables configured and dynamic state of a per-application user identityto be determined in a multi-tenant cloud application environment.

The techniques herein may be extended to other cloud models includingPaaS and IaaS.

As described, the approach herein may be implemented manually or in anautomated manner, in whole or in part.

While a preferred operating environment and use case (a cloud applianceor platform) has been described, the techniques herein may be used inany other operating environment in which it is desired to deployapplications or other services while enforcing a given security context.

The approach may be integrated in a SIEM, such as IBM QRadar, or thelike.

As has been described, the functionality described above may beimplemented as a standalone approach, e.g., one or more software-basedfunctions executed by one or more hardware processors, or it may beavailable as a managed service (including as a web service via aSOAP/XML interface). The particular hardware and software implementationdetails described herein are merely for illustrative purposes are notmeant to limit the scope of the described subject matter.

More generally, computing devices within the context of the disclosedsubject matter are each a data processing system (such as shown in FIG.2) comprising hardware and software, and these entities communicate withone another over a network, such as the Internet, an intranet, anextranet, a private network, or any other communications medium or link.The applications on the data processing system provide native supportfor Web and other known services and protocols including, withoutlimitation, support for HTTP, FTP, SMTP, SOAP, XML, WSDL, UDDI, andWSFL, among others. Information regarding SOAP, WSDL, UDDI and WSFL isavailable from the World Wide Web Consortium (W3C), which is responsiblefor developing and maintaining these standards; further informationregarding HTTP, FTP, SMTP and XML is available from Internet EngineeringTask Force (IETF).

In addition to the cloud-based environment, the techniques describedherein may be implemented in or in conjunction with various server-sidearchitectures including simple n-tier architectures, web portals,federated systems, and the like.

Still more generally, the subject matter described herein can take theform of an entirely hardware embodiment, an entirely software embodimentor an embodiment containing both hardware and software elements. In apreferred embodiment, the security assurance service (or any componentthereof) is implemented in software, which includes but is not limitedto firmware, resident software, microcode, and the like. Furthermore,the download and delete interfaces and functionality can take the formof a computer program product accessible from a computer-usable orcomputer-readable medium providing program code for use by or inconnection with a computer or any instruction execution system. For thepurposes of this description, a computer-usable or computer readablemedium can be any apparatus that can contain or store the program foruse by or in connection with the instruction execution system,apparatus, or device. The medium can be an electronic, magnetic,optical, electromagnetic, infrared, or a semiconductor system (orapparatus or device). Examples of a computer-readable medium include asemiconductor or solid state memory, magnetic tape, a removable computerdiskette, a random access memory (RAM), a read-only memory (ROM), arigid magnetic disk and an optical disk. Current examples of opticaldisks include compact disk—read only memory (CD-ROM), compactdisk-read/write (CD-R/W) and DVD. The computer-readable medium is atangible, non-transitory item.

The computer program product may be a product having programinstructions (or program code) to implement one or more of the describedfunctions. Those instructions or code may be stored in a computerreadable storage medium in a data processing system after beingdownloaded over a network from a remote data processing system. Or,those instructions or code may be stored in a computer readable storagemedium in a server data processing system and adapted to be downloadedover a network to a remote data processing system for use in a computerreadable storage medium within the remote system.

In a representative embodiment, the techniques are implemented in aspecial purpose computing platform, preferably in software executed byone or more processors. The software is maintained in one or more datastores or memories associated with the one or more processors, and thesoftware may be implemented as one or more computer programs.Collectively, this special-purpose hardware and software comprises thefunctionality described above.

In the preferred embodiment as described above, the functionalityprovided herein is implemented as an adjunct or extension to an existingcloud compute deployment solution.

While the above describes a particular order of operations performed bycertain embodiments of the invention, it should be understood that suchorder is exemplary, as alternative embodiments may perform theoperations in a different order, combine certain operations, overlapcertain operations, or the like. References in the specification to agiven embodiment indicate that the embodiment described may include aparticular feature, structure, or characteristic, but every embodimentmay not necessarily include the particular feature, structure, orcharacteristic.

Finally, while given components of the system have been describedseparately, one of ordinary skill will appreciate that some of thefunctions may be combined or shared in given instructions, programsequences, code portions, and the like.

The techniques herein provide for improvements to another technology ortechnical field, namely, log management solutions and cloud computingenvironments, as well as improvements to the functioning of relatedlogging facilities and systems.

As noted, the nature of the log data and what that data is used for(e.g., auditing, compliance, etc.) is not a limitation of thisdisclosure.

Having described our invention, what we claim is as follows:
 1. A methodfor improving a log management system in a Software-As-A-Service (SaaS)environment having a plurality of cloud applications, the log managementsystem normally configured to consolidate log source event data todetect anomalies, comprising: obtaining, from each of a set of cloudapplications, user state data with respect to one or more resources asusers interact with the cloud application, wherein given cloudapplications in the set have operating dependencies on one another basedat least in part on a user state; for a given cloud application in theset, mapping the user state data to a reduced set of states, the reducedset of states including at least a first state indicating an acceptablefunctioning state with respect to a user and resource at the given cloudapplication, and a second state indicating a malfunctioning state withrespect to the user and resource at the given cloud application;outputting the reduced set of states to the log management system tofacilitate a logging operation.
 2. The method as described in claim 1wherein user state data is collected for a single tenant enterprise inthe SaaS environment.
 3. The method as described in claim 1 furtherincluding: monitoring requests between or among the set of cloudapplications; and building a dependency graph based on dependencyrelationships between respective ones of the cloud applications, thedependency graph being a directed graph of nodes and edges, wherein anode in the directed graph represents a cloud application user andresource, and an edge in the directed graph represents a dependency linkbetween resources, the dependency relationships discovered by monitoringthe requests.
 4. The method as described in claim 3 further includingassessing whether a dependency request is valid according to thedependency graph by executing a graph path traversal algorithm thatidentifies a subset of nodes reached from a dependency request startingpoint and determines whether a last node reached from the dependencyrequest starting point is a given dependency.
 5. The method as describedin claim 4 further including providing an indication that the dependencyrequest has been determined to be valid.
 6. The method as described inclaim 1 wherein the logging operation is provided by the log managementsystem.
 7. The method as described in claim 1 wherein the user statedata is obtained by receiving user state data provided by the givencloud application or by polling the given cloud application to providesuch data.
 8. Apparatus, comprising: a processor; computer memoryholding computer program instructions executed by the processor toimprove a log management system in a Software-As-A-Service (SaaS)environment having a plurality of cloud applications, the log managementsystem normally configured to consolidate log source event data todetect anomalies, the computer program instructions comprising programcode configured to: obtain, from each of a set of cloud applications,user state data with respect to one or more resources as users interactwith the cloud application, wherein given cloud applications in the sethave operating dependencies on one another based at least in part on auser state; for a given cloud application in the set, map the user statedata to a reduced set of states, the reduced set of states including atleast a first state indicating an acceptable functioning state withrespect to a user and resource at the given cloud application, and asecond state indicating a malfunctioning state with respect to the userand resource at the given cloud application; provide the reduced set ofstates to the log management system to facilitate a logging operation.9. The apparatus as described in claim 8 wherein user state data iscollected for a single tenant enterprise in the SaaS environment. 10.The apparatus as described in claim 8 wherein the program code isconfigured to: monitor requests between or among the set of cloudapplications; and build a dependency graph based on dependencyrelationships between respective ones of the cloud applications, thedependency graph being a directed graph of nodes and edges, wherein anode in the directed graph represents a cloud application user andresource, and an edge in the directed graph represents a dependency linkbetween resources, the dependency relationships discovered by monitoringthe requests.
 11. The apparatus as described in claim 10 wherein theprogram code also assesses whether a dependency request is validaccording to the dependency graph by executing a graph path traversalalgorithm that identifies a subset of nodes reached from a dependencyrequest starting point and determines whether a last node reached fromthe dependency request starting point is a given dependency.
 12. Theapparatus as described in claim 11 wherein the program code provides anindication that the dependency request has been determined to be valid.13. The apparatus as described in claim 8 wherein the logging operationis provided by the log management system.
 14. The apparatus as describedin claim 8 wherein the user state data is obtained by receiving userstate data provided by the given cloud application or by polling thegiven cloud application to provide such data.
 15. A computer programproduct in a non-transitory computer readable medium for use in a dataprocessing system, the computer program product holding computer programinstructions executed by the data processing system to improve a logmanagement system in a Software-As-A-Service (SaaS) environment having aplurality of cloud applications, the log management system normallyconfigured to consolidate log source event data to detect anomalies, thecomputer program instructions comprising program code operative to:obtain, from each of a set of cloud applications, user state data withrespect to one or more resources as users interact with the cloudapplication, wherein given cloud applications in the set have operatingdependencies on one another based at least in part on a user state; fora given cloud application in the set, map the user state data to areduced set of states, the reduced set of states including at least afirst state indicating an acceptable functioning state with respect to auser and resource at the given cloud application, and a second stateindicating a malfunctioning state with respect to the user and resourceat the given cloud application; provide the reduced set of states to thelog management system to facilitate a logging operation.
 16. Thecomputer program product as described in claim 15 wherein user statedata is collected for a single tenant enterprise in the SaaSenvironment.
 17. The computer program product as described in claim 15wherein the program code is configured to: monitor requests between oramong the set of cloud applications; and build a dependency graph basedon dependency relationships between respective ones of the cloudapplications, the dependency graph being a directed graph of nodes andedges, wherein a node in the directed graph represents a cloudapplication user and resource, and an edge in the directed graphrepresents a dependency link between resources, the dependencyrelationships discovered by monitoring the requests.
 18. The computerprogram product as described in claim 17 wherein the program code alsoassesses whether a dependency request is valid according to thedependency graph by executing a graph path traversal algorithm thatidentifies a subset of nodes reached from a dependency request startingpoint and determines whether a last node reached from the dependencyrequest starting point is a given dependency.
 19. The computer programproduct as described in claim 18 wherein the program code provides anindication that the dependency request has been determined to be valid.20. The computer program product as described in claim 15 wherein thelogging operation is provided by the log management system.
 21. Thecomputer program product as described in claim 15 wherein the user statedata is obtained by receiving user state data provided by the givencloud application or by polling the given cloud application to providesuch data.